package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 案件深析明细
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("zb_as_ajsx_detail")
@ApiModel(value="ZbAsAjsxDetailEntity对象", description="案件深析明细")
public class ZbAsAjsxDetailEntity extends Model<ZbAsAjsxDetailEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序列号")
    @TableId(value = "serialNo", type = IdType.AUTO)
    private String serialno;

    @ApiModelProperty(value = "父级ID")
    @TableField("parentserialNo")
    private String parentserialno;

    @ApiModelProperty(value = "案件标题")
    private String target;

    @ApiModelProperty(value = "审理流程")
    @TableField("caseProcess")
    private String caseprocess;

    @ApiModelProperty(value = "公告类型")
    @TableField("pType")
    private String ptype;

    @ApiModelProperty(value = "案号")
    @TableField("caseNo")
    private String caseno;

    @ApiModelProperty(value = "案由")
    @TableField("caseReason")
    private String casereason;

    @ApiModelProperty(value = "诉讼地位")
    @TableField("lawStatus")
    private String lawstatus;

    @ApiModelProperty(value = "立案时间")
    @TableField("caseDate")
    private String casedate;

    @ApiModelProperty(value = "发布时间")
    @TableField("pDate")
    private String pdate;

    @ApiModelProperty(value = "原告")
    private String plaintiff;

    @ApiModelProperty(value = "被告")
    private String party;

    @ApiModelProperty(value = "时间戳")
    @TableField("rankDate")
    private String rankdate;

    @ApiModelProperty(value = "时间轴排序")
    @TableField("timeAxisRank")
    private String timeaxisrank;

    @ApiModelProperty(value = "录入时间")
    @TableField("inputDate")
    private String inputdate;

    @ApiModelProperty(value = "更新时间")
    @TableField("updateDate")
    private String updatedate;


    @Override
    protected Serializable pkVal() {
        return this.serialno;
    }

}
